Skip to main content

mobileCurrentLocale

Type

function

Summary

Returns the currently configured locale.

Syntax

mobileCurrentLocale()

Description

Use the mobileCurrentLocale function to discover what language the device is currently set to use. This allows you to set up your app for that language.

Examples

mobileCurrentLocale()
if mobileCurrentLocale() is "en_US" then 
updateDisplay "english"
end if

function: mobilePreferredLanguages

Compatibility and Support

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?